<?php
include("mysql.php");
$opid=$_GET['opid'];
$name=$_GET['name'];
$url=$_GET['url'];
// $data=$_POST['data'];
// echo($data);
// $ver=mysql_query("SELECT * FROM message where id = (SELECT min(id) FROM message) ");
// $result=mysql_fetch_assoc($ver);
// echo($result['id']);
//查
 //$id = $_POST['id'];
//  $id = 1;
//   $ver=mysql_query("SELECT * FROM message where (id,class) = ('2' ,'0') ");
  
//   $result=mysql_fetch_assoc($ver);
  
//   echo($result['time']);
// echo($result['id'].'/');
// echo($result['mes_user'].'/');
// echo($result['mes_text'].'/');
// echo($result['time'].'/');
// echo($result['class']);
//增
//$sql=mysql_query( "INSERT INTO user (name,id,psword) VALUES ('zxc','2','zxc')");
//改
//$sql=mysql_query("UPDATE user SET id = '3',name = 'xyz' WHERE name = 'zxc'");
//删
//$sql=mysql_query("DELETE FROM user WHERE name = 'xyz'"); 
//$cnm=$_POST['xxx'];
//echo($cnm);

$sql=mysql_query( "UPDATE user SET port = '$url',name = '$name' WHERE opid = '$opid'");
echo('???');
?>